package com.wf.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 
 * @TableName my_favorites
 */
@TableName(value ="my_favorites")
@Data
public class MyFavorites implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer myId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 合同id
     */
    private Integer contractId;

    /**
     * 收藏时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createDate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}